.TH std::queue::back 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::queue::back \- std::queue::back

.SH Synopsis
   reference back();
   const_reference back() const;

   Returns reference to the last element in the queue. This is the most recently pushed
   element. Effectively calls c.back().

.SH Parameters

   \fI(none)\fP

.SH Return value

   Reference to the last element.

.SH Complexity

   Constant.

.SH See also

   front access the first element
         \fI(public member function)\fP
   push  inserts element at the end
         \fI(public member function)\fP
